#pragma once
#include "drawable.h"


class CCelestialBody :
	public CDrawable
{
private:
	uint timer;
	CCelestialBody* parent;
	int r; int R;
	double period;

public:
	CCelestialBody(int x, int y, CIw2DImage* img, CCelestialBody* center, int r, int R, double period);
	CCelestialBody(int x, int y, CIw2DImage* img);
	~CCelestialBody(void);
	int GetX();
	int GetY();
	void Update(unsigned int deltaTime);
	void Render();
};

